/*
 *Copyright (c) 2012 mango Persistence Model
 */
package ext.mango.ab.eo;

import mango.orm.entity.Entity;
import mango.orm.entity.Table;
import mango.orm.entity.Column;
import mango.orm.OrmTypes;
import java.sql.Types;

/**
 * ABMessage
 * @serial 1327393509740
 */
@Table("ABMESSAGE")
public class EOABMessage extends Entity {
    private static final long serialVersionUID = -132739350974029256L;

    @Column(column="ID", primary=true, type=Types.VARCHAR)
    public String getId() {
        return OrmTypes.convert(String.class, this.get("ID"));
    }

    public EOABMessage setId(String id) {
        this.set("ID", id);
        return this;
    }

    @Column(column="BATCHNO", primary=false, type=Types.VARCHAR)
    public String getBatchNo() {
        return OrmTypes.convert(String.class, this.get("BATCHNO"));
    }

    public EOABMessage setBatchNo(String batchNo) {
        this.set("BATCHNO", batchNo);
        return this;
    }

    @Column(column="TYPE", primary=false, type=Types.VARCHAR)
    public String getType() {
        return OrmTypes.convert(String.class, this.get("TYPE"));
    }

    public EOABMessage setType(String type) {
        this.set("TYPE", type);
        return this;
    }

    @Column(column="SENDER", primary=false, type=Types.VARCHAR)
    public String getSender() {
        return OrmTypes.convert(String.class, this.get("SENDER"));
    }

    public EOABMessage setSender(String sender) {
        this.set("SENDER", sender);
        return this;
    }

    @Column(column="RECIVER", primary=false, type=Types.VARCHAR)
    public String getReciver() {
        return OrmTypes.convert(String.class, this.get("RECIVER"));
    }

    public EOABMessage setReciver(String reciver) {
        this.set("RECIVER", reciver);
        return this;
    }

    @Column(column="SENDDATE", primary=false, type=Types.TIMESTAMP)
    public java.util.Date getSendDate() {
        return OrmTypes.convert(java.util.Date.class, this.get("SENDDATE"));
    }

    public EOABMessage setSendDate(java.util.Date sendDate) {
        this.set("SENDDATE", sendDate);
        return this;
    }

    @Column(column="MESSAGE", primary=false, type=Types.CLOB)
    public String getMessage() {
        return OrmTypes.convert(String.class, this.get("MESSAGE"));
    }

    public EOABMessage setMessage(String message) {
        this.set("MESSAGE", message);
        return this;
    }

    @Column(column="AVLIABLE", primary=false, type=Types.VARCHAR)
    public String getAvliable() {
        return OrmTypes.convert(String.class, this.get("AVLIABLE"));
    }

    public EOABMessage setAvliable(String avliable) {
        this.set("AVLIABLE", avliable);
        return this;
    }

    @Column(column="OPERATOR", primary=false, type=Types.VARCHAR)
    public String getOperator() {
        return OrmTypes.convert(String.class, this.get("OPERATOR"));
    }

    public EOABMessage setOperator(String operator) {
        this.set("OPERATOR", operator);
        return this;
    }

    @Column(column="MAKEDATE", primary=false, type=Types.DATE)
    public java.util.Date getMakeDate() {
        return OrmTypes.convert(java.util.Date.class, this.get("MAKEDATE"));
    }

    public EOABMessage setMakeDate(java.util.Date makeDate) {
        this.set("MAKEDATE", makeDate);
        return this;
    }

}
